/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
-------------------------------------------------------------------------------
License
    This file is part of OpenFOAM.
    OpenFOAM is free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.
    You should have received a copy of the GNU General Public License
    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
\*---------------------------------------------------------------------------*/

FoamFile
{
    version     2.0;		// test comment
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.001;

vertices
(
    (-20.6 0 -10)   // test comment
    (-20.6 25.4 -10)
    (0 -25.4 -10)
    (0 0 -10)
    (0 25.4 -10)
    (206 -25.4 -10)
    (206 0 -10)
    (206 25.4 -10)
    (290 -16.6 -10)
    (290 0 -10)
    (290 16.6 -10)

    (-20.6 0 10)
    (-20.6 25.4 10)
    (0 -25.4 10)
    (0 0 10)
    (0 25.4 10)
    (206 -25.4 10)
    (206 0 10)
    (206 25.4 10)
    (290 -16.6 10)
    (290 0 10)
    (290 16.6 10)
);

blocks
(
    hex (0 3 4 1 11 14 15 12)
    (5 5 5)
    simpleGrading (1 1 1)

    hex (2 5 6 3 13 16 17 14)
    (5 5 5)
    edgeGrading (4 4 4 4 1 1 1 1 1 1 1 1)

    hex (3 6 7 4 14 17 18 15)
    (5 5 5)
    edgeGrading (4 4 4 4 1 1 1 1 1 1 1 1)

    hex (5 8 9 6 16 19 20 17)
    (5 5 5)
    simpleGrading (1 1 1)

    hex (6 9 10 7 17 20 21 18)
    (5 5 5)
    simpleGrading (1 1 1)
);

edges
(
);

boundary
(
    inlet
    {
        type patch;
        faces
        (
            (0 1 12 11) 	// comment
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (8 9 20 19)
            (9 10 21 20)
        );
    }
    upperWall
    {
        type wall;
        faces
        (
            (1 4 15 12)
            (4 7 18 15)
            (7 10 21 18)
        );
    }
    lowerWall
    {
        type wall;
        faces
        (
            (0 3 14 11)
            (3 2 13 14)
            (2 5 16 13)
            (5 8 19 16)
        );
    }
    frontAndBack
    {
        type wall;
        faces
        (
            (0 3 4 1)
            (2 5 6 3)
            (3 6 7 4)
            (5 8 9 6)
            (6 9 10 7)
            (11 14 15 12)
            (13 16 17 14)
            (14 17 18 15)
            (16 19 20 17)
            (17 20 21 18)
        );
    }
);

// ************************************************************************* //
